package udp_tcp.model;



public class User {
    private String username;
    private String ipAddress;

    public User(String username, String ipAddress) {
        this.username = username;
        this.ipAddress = ipAddress;
    }

    // Getters
    public String getUsername() { return username; }
    public String getIpAddress() { return ipAddress; }

    @Override
    public String toString() {
        return username + " (" + ipAddress + ")";
    }
}